P+ - Donkey Kong - Common Subroutine 0x1905c
- if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThan InternalConstantInt (0xc5c)))
- IfStatementAnd ((InternalConstantInt(ControlStickYAxisAbsolute) LessThan InternalConstantInt (0xc5d)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 268 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 259 }
- else
- if (StickDirectionPressed)
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 268 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 259 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 269 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 260 }
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirectionOpposite) }
- else
- if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 270 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 261 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 271 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 262 }